﻿using NotificationLib;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Accord.Statistics.Testing;
using GalacticLib;
using System.Reflection;


namespace ConsoleTest
{
    class Program// : IGalacticClientUI
    {

      

        static void Output(string s)
        {
            Console.WriteLine(s);
        }


        static void Main(string[] args)
        {
            /*

            string config = File.ReadAllText("GalacticClientConfig.xml");


          DataRunProcessor drp = new DataRunProcessor(config);
             * 
             * */
/*

           DataRunRequest req = new DataRunRequest();
           req.DataRunRequestId = 12345;
           req.Is3D = false;
           req.DataSetId = 203;
           req.DataSetName = "2MRS North";
           req.FittingRange = 15;
           req.FittingRangeRad = DataRunProcessor.ConvertToRadians(req.FittingRange);
           req.PrimaryMorph = "L";
           req.SecondaryMorph = "E";
           req.PrimaryRegex = @"^-[1-3]{1}";
           req.SecondaryRegex = "^-[4-7]{1}";


           Console.WriteLine(drp.Version);
           drp.OutputEvent += Output;
            
            
            drp.ProcessDataRunRequest(req);
            */
            
        /*    drp.Start();



            bool go = true;
            while(go)
            {
                string input = Console.ReadLine();
                input = input.ToLower();
             //   Console.WriteLine("Command: " + input);
                switch(input)
                {
                    case "end":
                        {
                            go = false;
                            drp.Stop();
                            break;

                        }
                }
            }

            */

        }

        public void NoPendingRuns()
        {
            throw new NotImplementedException();
        }


        public void StartingRun(DataRunRequest req)
        {
            throw new NotImplementedException();
        }
    }
}
